package unm.domain

import unm.excel.CollegeExcel

class College extends CollegeDepart {
    List<CollegeDepart> departs

    College(CollegeExcel excel) {
        super(excel)
        departs = []
    }

    String toString() {
        StringBuffer sb = new StringBuffer()
        sb.append(chineseName).append('\n')
        departs.each {
            sb.append(it).append('\n')
        }
        sb.append('---------')
    }
}
